package com.ceiling.bean.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 接收admin/role/create传回的数据
 * 还用来接收admin/role/update请求的数据
 */
@Data
public class RoleCreateVo {
        /**
         * id : 12
         * name : test
         * desc : 哈哈
         * addTime : 2021-06-04 21:35:31
         * updateTime : 2021-06-04 21:35:31
         */
        private int id;
        private String name;
        private String desc;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date addTime;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date updateTime;

}
